home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CDsupport / HippoPlayer / Scopes / HiPScope.h < prev    next >
C/C++ Source or Header  |  1995-09-17  |  1KB  |  52 lines

  1.  
  2. #ifndef EXEC_TYPES_H
  3. #include <exec/types.h>
  4. #endif
  5.  
  6. #ifndef EXEC_PORTS_H
  7. #include <exec/ports.h>
  8. #endif
  9.  
  10. /*** PT channel data block ***/
  11. struct PTch
  12. {
  13.   LONG   start;        // Start address of sample
  14.   WORD   length;    // Length of sample in words
  15.   LONG   loopstart;    // Start address of loop
  16.   WORD   replen;    // Loop length in words
  17.   WORD   volume;    // Channel volume
  18.   WORD   period;    // Channel period
  19.   WORD   private1;    // Private...
  20. };
  21.  
  22. struct HippoPort
  23. {
  24.   struct MsgPort ExecMessage;
  25.   
  26.   LONG   private1;    // Private..
  27.   APTR   kplbase;    // kplbase address
  28.   WORD   reserved0;    // Private..
  29.   BYTE   reserved1;    // Private..
  30.   BYTE   opencount;    // Open count
  31.   BYTE   mainvolume;    // Main volume, 0-64
  32.   BYTE   play;        // If non-zero, HiP is playing
  33.   BYTE   playertype;    // 33 = Protracker, 49 = PS3M. 
  34. /*** Protracker ***/
  35.   BYTE   reserved2;
  36.   struct PTch *PTch1;    // Protracker channel data for ch1
  37.   struct PTch *PTch2;    // ch2
  38.   struct PTch *PTch3;    // ch3
  39.   struct PTch *PTch4;    // ch4
  40. /*** PS3M ***/
  41.   APTR   ps3mleft;    // Buffer for the left side
  42.   APTR   ps3mright;    // Buffer for the right side
  43.   LONG   ps3moffs;    // Playing position
  44.   LONG   ps3mmaxoffs;    // Max value for hip_ps3moffs
  45.  
  46.   BYTE   PTtrigger1;
  47.   BYTE   PTtrigger2;
  48.   BYTE   PTtrigger3;
  49.   BYTE   PTtrigger4;
  50. };
  51.  
  52.